'use strict';
const { Service } = require('egg');

module.exports = class User extends Service {
  async login(body) {
    return await this.app.mysql.get('user', {
      ...body,
    });
  }
}
;
